package com.ai.platform.system.service;

import com.ai.platform.core.exception.BusinessException;
import com.ai.platform.model.dto.Input;
import com.ai.platform.model.dto.Output;
import com.ai.platform.system.entity.SysLoginLog;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 登录记录 服务类
 * </p>
 *
 * @author yeyingsheng
 * @since 2018-05-26
 */
public interface ISysLoginLogService extends IService<SysLoginLog> {

    /**
     * 日志登录成功实现
     * @param input
     * @param output
     * @throws BusinessException
     */
    void loginLogSuccess(Input input, Output output) throws BusinessException;

    /**
     * 日志登录失败实现
     * @param input
     * @param output
     * @throws BusinessException
     */
    void loginLogFailed(Input input, Output output) throws BusinessException;
}
